package com.tom.enums;

/**
 * 消息类型枚举值
 *
 * @author tom
 */
public enum MsgTypeEnum {
    /**
     * 消息类型枚举值
     */
    CONNECT_INIT(0, "第一次(或重链)初始化连接诶"),
    WORDS(1, "文字标签消息"),
    IMAGE(2, "图片"),
    VOICE(3, "语音"),
    VIDEO(4, "视频"),
    RESUME(5, "简历"),
    JOB_OFFER(6, "录用通知"),

    INVITE(7, "面试邀约"),
    MSG_INTERVIEW_CANCEL(71, "HR取消面试"),
    MSG_INTERVIEW_REFUSE(72, "候选人拒绝面试"),
    MSG_INTERVIEW_ACCEPT(73, "候选人接受面试"),
    MSG_LOADING(911, "消息长时间等待加载效果"),

    SIGNED(8, "消息签收"),
    keepalive(9, "客户端保持心跳"),
    HEART(10, "拉取好友");

    public final Integer type;
    public final String content;

    MsgTypeEnum(Integer type, String content) {
        this.type = type;
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public String getContent() {
        return content;
    }
}
